/**
 * 严肃声明：
 * 开源版本请务必保留此注释头信息，若删除我方将保留所有法律责任追究！
 * 本系统已申请软件著作权，受国家版权局知识产权以及国家计算机软件著作权保护！
 * 可正常分享和学习源码，不得用于违法犯罪活动，违者必究！
 * Copyright (c) 2019-2020 十三 all rights reserved.
 * 版权所有，侵权必究！
 */
package com.macro.mall.portal.newbee.common;
public enum ServiceResultEnum {
    ERROR("error"),

    SUCCESS("success"),

    DATA_NOT_EXIST("No record found！"),

    SAME_CATEGORY_EXIST("有同级同名的分类！"),

    SAME_LOGIN_NAME_EXIST("The user name already exists！"),

    LOGIN_NAME_NULL("Please enter login name！"),

    LOGIN_PASSWORD_NULL("Please input a password！"),

    LOGIN_VERIFY_CODE_NULL("请输入验证码！"),

    LOGIN_VERIFY_CODE_ERROR("验证码错误！"),

    GOODS_NOT_EXIST("Commodity does not exist or no specifications are selected！"),

    GOODS_PUT_DOWN("The product is off the shelf！"),

    SHOPPING_CART_ITEM_LIMIT_NUMBER_ERROR("超出单个商品的最大购买数量！"),

    //订单中商品数据不足（少于登录账号设置的购买量）
    SHOPPING_CART_INSUFFCIENT_PURCHASE_QUANTITY("Insufficient_purchase_quantity"),

    SHOPPING_CART_ITEM_TOTAL_NUMBER_ERROR("超出购物车最大容量！"),

    LOGIN_ERROR("Login failed！"),

    LOGIN_USER_LOCKED("The user has been blocked from logging in！"),

    ORDER_NOT_EXIST_ERROR("Order does not exist！"),

    NULL_ADDRESS_ERROR("Address cannot be empty！"),

    ORDER_PRICE_ERROR("Abnormal order price！"),

    ORDER_GENERATE_ERROR("Abnormal order generation！"),

    SHOPPING_ITEM_ERROR("Abnormal shopping cart data！"),

    SHOPPING_ITEM_COUNT_ERROR("Insufficient stock！"),

    ORDER_STATUS_ERROR("Abnormal order status！"),

    OPERATE_ERROR("operation failed！"),

    DB_ERROR("database error"),

    NOT_ENOUGH("At least quantity of items in the order:");

    private String result;

    ServiceResultEnum(String result) {
        this.result = result;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }
}
